<?php
for ($m = 1; $m <= 12; $m++) {
    echo date('F', strtotime("2024-{$m}-1")), '<br>';
}
$wk = ['日', '一', '二', '三', '四', '五', '六'];
echo '今日是：星期' . $wk[date('w')];